﻿using System;
using System.Diagnostics.CodeAnalysis;
using Volo.Abp;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;

namespace AliFox.BaseService.BaseData;

public class DataDictionary(Guid id, [NotNull] string name, string description)
    : AuditedAggregateRoot<Guid>(id), ISoftDelete, IMultiTenant
{
    public Guid? TenantId { get; init; }

    /// <summary>
    /// 名称
    /// </summary>
    public string Name { get; set; } = name;

    /// <summary>
    /// 描述
    /// </summary>
    public string Description { get; set; } = description;

    public bool IsDeleted { get; init; }
}